package com.woniu.outlet.mysql;

import com.woniu.outlet.mysql.po.UserDetailMySQL;
import com.woniu.outlet.mysql.po.UserDetailMySQLExample;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDetailDao {
    int deleteByPrimaryKey(Integer id);

    int insert(UserDetailMySQL record);

    int insertSelective(UserDetailMySQL record);

    List<UserDetailMySQL> selectByExample(UserDetailMySQLExample example);

    UserDetailMySQL selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserDetailMySQL record);

    int updateByPrimaryKey(UserDetailMySQL record);

    UserDetailMySQL selectByUserId(Integer userId);

    void updateByUserId(UserDetailMySQL userDetailSQL);
}